

import org.annoflow.filter.Filter;
import org.annoflow.filter.NetworkFilter;

import dummy.lib.NativeObject;
import dummy.test.perf.ZHTMLTestClass;
public class FilterNetworkTest implements ZHTMLTestClass{
	public static void sendObjHook() {
		//System.err.println("Getting printed here");
		NativeObject nObj = new NativeObject();
		try {
			sendObj(nObj);
		}
		catch (Exception ex) {
			//Okay
		}
	}
	
	@Filter(type=NetworkFilter.class)
	public static void sendObj(Object obj) {
		assert false;
	}

	@Override
	public void loadClasses() {
		new NativeObject();
		
	}

	@Override
	public void doTest() {
			sendObj(new NativeObject());

		
	}
}
